/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: xin
 * @Date: 2021-09-18 18:24:37
 * @LastEditors: serve
 * @LastEditTime: 2021-09-29 13:55:02
 */
/**
 * @Description:  flow
 * @author longfa liang
 * @date 2021/9/14
 */
var express = require('express')
var router = express.Router()
var api = require('../module/flow')

// 添加流程
router.post('/add_flow', async function (req, res, next) {
    api.add_flow(req, res, next)
})
// 查找流程
router.post('/find_flow', async function (req, res, next) {
    api.find_flow(req, res, next)
})
// 修改流程
router.post('/update_flow', async function (req, res, next) {
    api.update_flow(req, res, next)
})

router.params.name = 'flow module'
module.exports = router
